<template>
    <div class="modal fade" id="batchErrorInfoModel" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-dialog">
        <div class="modal-content">
          	<div class="modal-header">
            	<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
            	<h4 class="modal-title" id="myModalLabel"> 转客失败信息</h4>
          	</div>
          	<div class="modal-body">
          		<table class="table table-striped table-bordered">
					<thead>
						<tr>
							<th>客户姓名</th>
							<th>手机号码</th>
							<th>错误信息</th>
						</tr>
					</thead>
					<tbody>
						<tr v-for="(item,index) in errorInfo" :key="index">
							<td>{{item.userName}}</td>
							<td>{{item.phone}}</td>
							<td>{{item.errorMsg}}</td>
						</tr>
					</tbody>
				</table>
          	</div>
        </div>
      </div>
    </div>
</template>

<script>
	export default{
		//接收父组件的绑定值
		props: ["errorInfo"],
		data() {
			return {
			}
		},
		methods: {
		}
	}
	
</script>